#!/usr/bin/bash
# Specify email address of recipient
if [ -z $1 ]; then echo Please enter an email address; exit 1; fi
cd /sapnfs/b0528817/git/sap/scripts
git bundle create /tmp/sap_repo.bundle --branches --tags && uuencode /tmp/sap_repo.bundle /tmp/sap_repo.bundle|mailx -s "sap_repo bundle" $1
